package main.java.ssm.service;

import ssm.entity.User;

import java.util.List;

/**
 * Author: AD
 * Date: 17-6-5
 */
public interface UserService {
    User getUserById(int userId);

    void deleteUserById(int userId);

    User updateUserById(User record);

    int addUser(User user);

    List<User> findAll();

    User findById(int userId);

    String findPassByName(String username);
}
